package com.itgungnir.diyshuo.activity.load_activity;

import android.content.Context;

/**
 * LoadActivity中属于MVP架构中Presenter层的类
 */
public class LoadPresenter implements LoadContract.Presenter {
    private LoadContract.View view;
    private LoadContract.Model model;

    public LoadPresenter(LoadContract.View view) {
        this.view = view;
        this.model = new LoadModel();
    }

    @Override
    public void goToMain(Context context, Class activity) {
        model.goToMain(context, activity);
    }
}
